
<?php defined('SYSPATH') OR die('No direct access allowed.');

class Welcome_Controller extends Template_Controller {


	const ALLOW_PRODUCTION = FALSE;


	public $template = 'kohana/template';

	public function index()
	{
            
            $this->template->topo = new view('default_1/topo');
            $this->template->centro = new view('cont_dinamico/index');
            $this->template->rodape = new view('default_1/rodape');
            
	}

	public function __call($method, $arguments)
	{
		
		$this->auto_render = FALSE;
		
		echo 'This text is generated by __call. If you expected the index page, you need to use: welcome/index/'.substr(Router::$current_uri, 8);
	}

} // End Welcome Controller